#include <QCoreApplication>
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    int A=0,B;

    cout<<"Vvedite celoe chislo:   ";
    cin>>B;
    while (A*A<B)
        A++;
    cout<<"Otvet:  "<<A;
    return a.exec();
}
